It's hard to see at regular speed, but if you slow down the animation
then it becomes apparent the label was appearing outside the tile during
expansion. This keeps it clipped inside the expanding tile.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4247>
(cherry picked from commit
60ec1fae0d581490f2a82cb60499731977bbdfff)
leader.disconnect(id);
});
+ this.icon.clip_to_allocation = expand;
leader.save_easing_state();
leader.set_easing_duration(expand
? APP_ICON_TITLE_EXPAND_TIME